package com.hongtech.framework.anno;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.hongtech.common.enums.Action;

/**
 * 登录拦截注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Login {

    /**
     * 执行动作
     */
    Action action() default Action.NORMAL;

}
